Received: from anubis.kbfi.ee (anubis.kbfi.ee [192.121.251.14]) by kantti.helsinki.fi (8.6.9/8.6.5) with SMTP id KAA04453 for <blitz-list@helsinki.fi>; Wed, 31 Aug 1994 10:02:41 +0300
Received: from microlnk.ml.ee by anubis.kbfi.ee with smtp
(Smail3.1.28.1 #4) id m0qfjgr-0002uAC; Wed, 31 Aug 94 10:02 EETDST
Received: from ML4/SpoolDir by microlnk.ml.ee (Mercury 1.12);
Wed, 31 Aug 94 10:05:06 +0200
Received: from SpoolDir by ML4 (Mercury 1.12); Wed, 31 Aug 94 10:04:58 +0200
From: "Ott M. Aaloe" <OTT@microlnk.ml.ee>
Organization: MicroLink Ltd.
To: blitz-list@helsinki.fi
Date: Wed, 31 Aug 1994 10:04:56 +0300 (EETDST)
Subject: Re: Mem Fragmentation - half solved
Priority: normal
X-mailer: Pegasus Mail v3.2 (R0)
Message-ID: <88227B0DC7@microlnk.ml.ee>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Status:
Status: O
Hi all (Neil)!
> What we did is allocate three areas of memory big enough to hold our
> largest bitmaps. We then use CludgeBitMap to make one of these areas
> into a bitmap. That way, we have absolute control over bitplane allocations.
>
> Finally, we call AllocMem_ with a huge value a lot. This defrags the
> memory to a large extent.
>
I had same idea in mind. Can you explain a bit this bitmap cludge'ing.
I had some problems with it. What exactly does this cludgebitmap
command want? Addres of a bitmap itself or the whole bitmap object
structure? Must I create my own bitmap struct by hand?? Hmm..yes
here comes my other question. Someone explained once this but I lost
this msg so here it comes. How can I create blitz objects without
useing blitz commands to allocate them. For example I think it's not
wise to oad 10 samples one by one into memory. Instead I thought I
link all samples into one piece, alloc some chip and load linked
samples into it. Here's the problem - how I suppose to tell blitz that
I have sound object #1 starting from addr x, sound #2 startting from